package com.hq.ims.data.entityenum;

import com.hq.web.penum.IBaseEnum;

/**
 * 消息所属类型
 */
public enum EnumMsgOwnType implements IBaseEnum {

    Company(0, "公司消息"),

    Project(1, "项目消息"),

    ;

    private final int code;

    private final String typeName;

    EnumMsgOwnType(int code, String typeName) {
        this.code = code;
        this.typeName = typeName;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getValue() {
        return typeName;
    }

    public String getTypeName() {
        return typeName;
    }
}
